package com.dataart.productshop.dao;

import com.dataart.productshop.model.FileInfo;
import com.dataart.productshop.model.Picture;

import java.util.List;

public interface PictureDao extends BaseDao<Picture> {

	void savePicture(Picture picture);
	
	Picture getPictureById(Long id);
	
	void delete(Long id);
	
	List<Picture> getPictureByFileInfo(FileInfo fileInfo);
	
}
